package org.streets.eis.types;

import org.streets.commons.enums.ValuedEnum;

public class PermitTarget extends ValuedEnum{

	private static final long serialVersionUID = 1L;
	
	protected PermitTarget(String name, int value) {
		super(name, value);
	}

	public static final int ORGAN_VALUE		= 0;
	
	public static final int FUNC_VALUE		= 1;
	
	public static final int FIELD_VALUE		= 2;
	
	public static final int RECORD_VALUE		= 3;
	
	public static final PermitTarget ORGAN = new PermitTarget("ORGAN", ORGAN_VALUE);
	
	public static final PermitTarget FUNC	= new PermitTarget("FUNC", FUNC_VALUE);
	
	public static final PermitTarget FIELD = new PermitTarget("FIELD", FIELD_VALUE);
	
	public static final PermitTarget RECORD = new PermitTarget("RECORD", RECORD_VALUE);

}
